package com.ruoyi.quality.domain.dto;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.common.core.web.page.PageSize;
import lombok.Data;


@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@ExcelIgnoreUnannotated
@HeadFontStyle(fontName = "Arial",fontHeightInPoints=10)
@ContentFontStyle(fontName = "Arial",fontHeightInPoints=9)
public class InspectionItemDto extends PageSize {
    private Long id;

    /**
     *
     */
    private String code;

    @ExcelProperty(index = 0,value = "材料来源")
    private String materialOrigin;

    /**
     * 材料类型
     */
    @ExcelProperty(index = 1,value = "材料类型")
    private String materialType;

    /**
     *
     */
    @ExcelProperty(index = 3,value = "检验类型")
    private String name;

    /**
     *
     */
    private String remark;

    /**
     *
     */
    private Boolean status;

    /**
     *
     */
    private Integer lowerTolerance;

    /**
     *
     */
    private Integer upperTolerance;

    /**
     *
     */
    private String requirement;

    @ExcelProperty(index = 7,value = "样本量")
    private Integer fillQty;

    /**
     * 性能&&外观
     */
    @ExcelProperty(index = 2,value = "检验类型")
    private String fillType;

    /**
     * 抽样凭此
     */
    private Long samplingId;


    /**
     * 单位
     */
    @ExcelProperty(index = 4,value = "单位")
    private String unit;

    /**
     * 测试方法
     */
    @ExcelProperty(index = 5,value = "测试方法")
    private String testMethod;

    /**
     * 进度
     */
    @ExcelProperty(index = 6,value = "进度")
    private String process;

    /**
     * 制备周期
     */
    @ExcelProperty(index = 8,value = "制备周期")
    private Integer makePeriod;

    /**
     * 静置周期
     */
    @ExcelProperty(index = 9,value = "制备周期")
    private Integer standingPeriod;

    /**
     * 结果输出
     */
    @ExcelProperty(index = 10,value = "制备周期")
    private Integer resultOutput;


    /**
     * 是否配置公差
     */
    private String tolerance;

    /**
     * 是否合格
     */
    private String qualified;

    /**
     * 失效模式
     */
    private String failurePattern;


    /**
     * 标砖公差1;
     */
    private String standardToleranceOne;

    /**
     * 标准公差2
     */
    private String standardToleranceTwo;



}
